let list = {
  code: 200,
  msg: null,
  data: [
    {
      id: 88,
      createTime: '2022-08-15 23:11:24',
      updateTime: '2022-08-15 23:11:24',
      storeName: null,
      cateName: null,
      goodsName: ' 酸菜鱼',
      goodsDesc: '3',
      cover: ['http://rgjisf66x.hn-bkt.clouddn.com/qy/2022-08-15-ee693030bed04f41b61c3d7fe33b6b1c.jpg'],
      originPrice: 322,
      sellPrice: 10,
      disCount: 0,
      likeCount: 0,
      limitNum: 1,
      goodsOption: '1',
      totalSales: 88,
      monthSales: 56,
      praiseRate: 100.0,
      status: 1,
      kcal: null,
      protein: null,
      dietaryFiber: null,
      carbs: null,
      salt: null,
      fat: null,
      foodTypes: null,
      isCombo: 2,
      childIds: null
    },
    {
      id: 87,
      createTime: '2022-08-15 23:06:33',
      updateTime: '2022-08-15 23:06:33',
      storeName: null,
      cateName: null,
      goodsName: '虎皮鸡爪',
      goodsDesc: '123',
      cover: ['http://rgjisf66x.hn-bkt.clouddn.com/qy/2022-08-15-d6696346f3554aa2bc8e50e4507a9924.jpg'],
      originPrice: 12366,
      sellPrice: 3123,
      disCount: 0,
      likeCount: 0,
      limitNum: 1,
      goodsOption: '123',
      totalSales: 1233,
      monthSales: 123,
      praiseRate: 100.0,
      status: 1,
      kcal: null,
      protein: null,
      dietaryFiber: null,
      carbs: null,
      salt: null,
      fat: null,
      foodTypes: null,
      isCombo: 2,
      childIds: null
    },
    {
      id: 86,
      createTime: '2022-08-15 22:42:31',
      updateTime: '2022-08-15 22:42:31',
      storeName: null,
      cateName: null,
      goodsName: '浅情人甄选套餐',
      goodsDesc: '为请问',
      cover: [
        'http://rgjisf66x.hn-bkt.clouddn.com/qy/2022-08-15-e9e503479b6f44c98dc730ff22bc256c.jpg',
        'http://rgjisf66x.hn-bkt.clouddn.com/qy/2022-08-15-d6696346f3554aa2bc8e50e4507a9924.jpg'
        // 'http://rgjisf66x.hn-bkt.clouddn.com/qy/2022-08-15-e9e503479b6f44c98dc730ff22bc256c.jpg'
      ],
      originPrice: 100.2,
      sellPrice: 89,
      disCount: 1,
      likeCount: 0,
      limitNum: 1,
      goodsOption: null,
      totalSales: 1,
      monthSales: 34,
      praiseRate: 10.0,
      status: 1,
      kcal: null,
      protein: null,
      dietaryFiber: null,
      carbs: null,
      salt: null,
      fat: null,
      foodTypes: null,
      isCombo: 1,
      childIds: [1, 78, 85]
    }
  ],
  page: 2,
  pageSize: 5,
  total: 8
};

let categoryList = {
  code: 0,
  msg: '操作成功',
  data: [
    { id: 6, createTime: '2022-08-02 20:42:17', updateTime: '2022-08-02 20:42:17', storeId: 3, cateName: '分类1', cateDesc: '测试商品分类1', status: 1 },
    { id: 7, createTime: '2022-08-02 20:42:18', updateTime: '2022-08-02 20:42:18', storeId: 3, cateName: '分类2', cateDesc: '测试商品分类1', status: 1 },
    { id: 8, createTime: '2022-08-02 20:42:18', updateTime: '2022-08-02 20:42:18', storeId: 3, cateName: '分类3', cateDesc: '测试商品分类1', status: 1 },
    { id: 9, createTime: '2022-08-02 20:42:18', updateTime: '2022-08-02 20:42:18', storeId: 3, cateName: '分类4', cateDesc: '测试商品分类1', status: 1 },
    { id: 10, createTime: '2022-08-02 20:42:18', updateTime: '2022-08-02 20:42:18', storeId: 3, cateName: '分类5', cateDesc: '测试商品分类1', status: 1 },
    { id: 11, createTime: '2022-08-19 00:33:08', updateTime: '2022-08-19 00:33:08', storeId: 3, cateName: null, cateDesc: '测试商品12312312分类1', status: 1 },
    { id: 12, createTime: '2022-08-19 00:33:11', updateTime: '2022-08-19 00:33:11', storeId: 3, cateName: null, cateDesc: '测试商品12312312分类1', status: 1 },
    { id: 13, createTime: '2022-08-19 00:33:13', updateTime: '2022-08-19 00:33:13', storeId: 3, cateName: null, cateDesc: '测试商品12312312分类1', status: 1 },
    { id: 14, createTime: '2022-08-19 00:33:15', updateTime: '2022-08-19 00:33:15', storeId: 3, cateName: null, cateDesc: '测试商品12312312分类1', status: 1 }
  ]
};

export default [
  {
    url: '/mock/v1/goods/findGoodsByPageCondition',
    method: 'post',
    response: data => {
      return list;
    }
  },
  {
    url: '/mock/v1/goods/findGoodsCategory',
    method: 'post',
    response: data => {
      return categoryList;
    }
  }
];
